package com.guoxin.chapter2.synchronizedblocklockall.test2;

public class ThreadB extends java.lang.Thread {
	private MyObject myObject;
	public ThreadB(MyObject myObject) {
		this.myObject = myObject;
	}
	
	@Override
	public void run() {
		myObject.speedPringString();
	}
	
}
